package com.sk.bilibili.model.diy.bottomDialog;

import android.content.Intent;

import com.sk.api.annotations.Autowired;
import com.sk.bilibili.callBack.RequestCallBack;
import com.sk.bilibili.mapper.FollowThemMapper;
import com.sk.bilibili.mapper.LookLaterMapper;
import com.sk.bilibili.model.BaseModel;
import com.sk.bilibili.other.BiliBiliProperty;
import com.sk.bilibili.utils.ClipboardUtils;
import com.sk.bilibili.utils.RequestUtils;
import com.sk.bilibili.view.diy.bottomDialog.FollowBottomDialog;
import com.sk.bilibili.view.diy.bottomDialog.ThemBottomDialog;

public class FollowModel extends BaseModel<FollowBottomDialog>{

    @Autowired
    FollowThemMapper followThemMapper;

    public void changeState(Integer id, Integer state) {
        RequestUtils.process(followThemMapper.updateState(id, state));
        view.changeSuccess();
    }

}